/* eslint-disable */
import Vue from 'vue'

/**
 * 页面功能按钮权限
 * */
var statusJump = {
    inserted: function(el, binding, vNode) {
        var step = Number(binding.value ? binding.value : 1)
        let num = 0
        el = $(el);
        setInterval(() => {
            if (num % 2 === 1) {
                el.fadeOut()
            } else {
                el.fadeIn()
            }
            num++
        }, step * 1000)

    }
};
statusJump.componentUpdated = statusJump.inserted;
Vue.directive("statusJump", statusJump)